<?php
class AskUserNameForm extends BaseForm
{
    public function  configure()
    {
        $this->widgetSchema['user_name'] = new sfWidgetFormInputText(array('label' => 'Enter Your Username:'));
        $this->validatorSchema['user_name'] = new sfValidatorString(array('required'=> true));

       
        $this->widgetSchema->setNameFormat('forgot[%s]');
        parent::configure();
    }
    
}

?>